package com.yonyou.cyxdms.basedata.service.entity.sap;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 */
@Getter
@Setter
@TableName("ti_sap_product_rule")
@ApiModel(value = "TiSapProductRuleEntity对象", description = "")
public class TiSapProductRulePO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("批次号")
    @TableField("BATCH_NO")
    private String batchNo;

    @ApiModelProperty("创建时间")
    @TableField("CREATED_AT")
    private LocalDateTime createdAt;

    @ApiModelProperty("是否处理")
    @TableField("IS_HANDLED")
    private Integer isHandled;

    @TableField("PRODUCT_CODE")
    private String productCode;

    @TableField("SUBJECT_CONDITION")
    private String subjectCondition;

    /**
     * 异常信息
     */
    @TableField("EXCEPTION")
    private String exception;


}
